<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title></title>
    <script src="js/jquery-1.8.3.min.js"></script>
    <script src="js/common.js"></script>
    <script type="text/javascript">
      $(function () {
          $("#hh").html(getQueryString("userId") + ",登录成功!")
          localStorage.setItem("currentUserId", getQueryString("userId"));
      });


    </script>

  </head>
  <body>
    <h2 id="hh"></h2>
    <a href="index1.html">测试userId是否保存</a>
  </body>
 
</html>